
#include "derivative.h" 
#include "Common.h"
#include "sysinit.h"
#include "port.h"
#include "evhdl_iterface.h"
#include "Sw_Timers.h"
#include "MMA8451.h"
#include "MPR121.h"
#include "GDD_Interface.h"

void LED_vTick(void);

#define Tm500ms		   500
uint8 u8SwTimerLED = 0;

int main(void)
{
   /* System initialization */
   SINI_vSystemInit();

   //u8SwTimerLED = SwTimer_CreateTimer(&LED_vTick);
   //SwTimer_StartTimer(u8SwTimerLED, Tm500ms);

   //MMA84x_HWInit();
   MPR_HWInit();

   for (;;)
   {
      EVHD_vStartDispatcher();
   }

   return 0;
}

void LED_vTick(void)
{
	RGB_Blue_TOOGLE;
	SwTimer_StartTimer(u8SwTimerLED,Tm500ms);
}


